#pragma once

#include <map>
#include <vector>

// CTrackDlg dialog

class CTrackDlg : public CDialog
{
	DECLARE_DYNAMIC(CTrackDlg)

    typedef std::map<int, CString> INT_CSTR_MAP;

public:
	CTrackDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CTrackDlg();

// Dialog Data
	enum { IDD = IDD_TrackDlg };

public:
    void UpdateInfo();
    void Start();
    void Stop();

protected:
    std::vector<CString>    m_Infos;
    CSize                   m_szWndSize;
    
    HWND                    m_hCurWnd;

    HFONT                   m_Font;

    INT_CSTR_MAP  m_mapStyles;
    INT_CSTR_MAP  m_mapExStyles;

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

    virtual void OnOK();
    virtual void OnCancel();

	DECLARE_MESSAGE_MAP()

public:
    afx_msg void OnPaint();
    afx_msg void OnTimer(UINT_PTR nIDEvent);
};
